package com.zmm.study.order;

import com.zmm.util.auth.model.Operator;
import com.zmm.util.config.BaseConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.stereotype.Component;

/**
 * @Description:
 * @Name OrderApplication
 * @Author 900045
 * @Date By 2021-07-21 22:49:34
 */
@EnableDiscoveryClient
@EnableRabbit
@MapperScan("com.zmm.study.order.dao")
@SpringBootApplication
public class OrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }

    @Component
    public class OperatorConfigure extends Operator {
    }

    @Component
    public class ServiceConfigure extends BaseConfigure {
    }

}
